<%= form_for(@video_product) do |f| %>
  <% if @video_product.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@video_product.errors.count, "error") %> prohibited this video_product from being saved:</h2>

      <ul>
      <% @video_product.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :title %><br />
    <%= f.text_field :title %>
  </div>
  <div class="field">
    <%= f.label :release_date %><br />
    <%= f.date_select :release_date %>
  </div>
  <div class="field">
    <%= f.label :added_date %><br />
    <%= f.date_select :added_date %>
  </div>
  <div class="field">
    <%= f.label :imdb_id %><br />
    <%= f.text_field :imdb_id %>
  </div>
  <div class="field">
    <%= f.label :nr_views %><br />
    <%= f.number_field :nr_views %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
